<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">下单时间：</label>
                            <div class="col-sm-8">
                                <input id="createDate" name="createDate" class="form-control date"  type="text" required>
                            </div>
                        </div>

                        <hr>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品：</label>
                            <div class="col-sm-8">
                                <input id="product" name="productList[0].name" class="form-control" type="text" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">数量：</label>
                            <div class="col-sm-8">
                                <input id="num" name="productList[0].num" class="form-control" type="text" required>
                            </div>
                        </div>
                        <hr>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品：</label>
                            <div class="col-sm-8">
                                <input  name="productList[1].name" class="form-control" type="text" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">数量：</label>
                            <div class="col-sm-8">
                                <input  name="productList[1].num" class="form-control" type="text" required>
                            </div>
                        </div>


                        <hr>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品：</label>
                            <div class="col-sm-8">
                                <input  name="productList[2].name" class="form-control" type="text" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">数量：</label>
                            <div class="col-sm-8">
                                <input  name="productList[2].num" class="form-control" type="text" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/order/order/add.js">

</script>
<script type="text/javascript" src="/js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script>
    $("#createDate").datepicker({
            autoclose: true,
            minView: 0,
            language : 'zh-CN',
            minuteStep:1
    }

    )
</script>

</body>
</html>
